//
//  ControlCenterTopView.h
//  Recycling
//
//  Created by jzd on 2018/6/1.
//  Copyright © 2018年 宋佳. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol tableViewHeaderDelegate;

@interface ControlCenterTopView : UIView
@property (weak,nonatomic)id<tableViewHeaderDelegate>delegate;
@property (weak, nonatomic) IBOutlet UIButton *startBut;
@property (weak, nonatomic) IBOutlet UIButton *stopBut;
@property (weak, nonatomic) IBOutlet UIButton *areaBut;
@property (weak, nonatomic) IBOutlet UIButton *selectType;


+(instancetype)getHeaderView;

@end

@protocol tableViewHeaderDelegate <NSObject>

-(void)areaButtonOnClick:(UIButton *)button;

-(void)startButtonOnClick:(UIButton *)button;

-(void)stopButtonOnClick:(UIButton *)button;

-(void)selectTypeOnClick:(UIButton *)button;

@end
